package desp.test.inner.demo;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 报文头实体类，格式按照《银联商务内部系统接口规范V0.4》
 * 
 * @author wuwenzhe
 * 
 */
public class MsgHeadProto {
	/**
	 * 版本号
	 */
	public static final String VERSION_ID = "001";

	/**
	 * 字符编码:UTF-8
	 */
	public static final String CharSet = "UTF-8";


	
	private String transID;

	/**
	 * 交易名称,当前系统填写Service名称 请求和响应中都必填
	 */
	private String transName;


	/**
	 * 请求方交易时间:HHmmss请求和响应中都必填
	 */
	private String orgSendTime;

	/**
	 * 请求方交易流水号，有请求方保证一天之内不重复 请求和响应中都必填
	 */
	private String orgSendTransID;

	/**
	 * 接受方交易日期:yyyyMMdd 响应中必填
	 */

	/**
	 * 接受方交易时间:HHmmssSSS 响应中必填
	 */
	private String orgRcvTime;

	/**
	 * 接受方交易流水号，yyyyMMdd+sequence 响应中必填
	 */
	private String orgRcvTransID;
	
	private String orgSenderID;
	
	private String clientId;

	@JSONField(name = "TransID", ordinal = 2)
	public String getTransID() {
		return this.transID;
	}
	@JSONField(name = "TransID")
	public void setTransID(String transID) {
		this.transID = transID;
	}
	@JSONField(name = "TransName", ordinal = 3)
	public String getTransName() {
		return this.transName;
	}
	@JSONField(name = "TransName")
	public void setTransName(String transName) {
		this.transName = transName;
	}
	@JSONField(name = "OrgSendTime", ordinal = 4)
	public String getOrgSendTime() {
		return this.orgSendTime;
	}
	@JSONField(name = "OrgSendTime")
	public void setOrgSendTime(String orgSendTime) {
		this.orgSendTime = orgSendTime;
	}
	@JSONField(name = "OrgSendTransID", ordinal = 5)
	public String getOrgSendTransID() {
		return this.orgSendTransID;
	}
	@JSONField(name = "OrgSendTransID")
	public void setOrgSendTransID(String orgSendTransID) {
		this.orgSendTransID = orgSendTransID;
	}
	@JSONField(name = "OrgRcvTime", ordinal = 6)
	public String getOrgRcvTime() {
		return this.orgRcvTime;
	}
	@JSONField(name = "OrgRcvTime")
	public void setOrgRcvTime(String orgRcvTime) {
		this.orgRcvTime = orgRcvTime;
	}
	@JSONField(name = "OrgRcvTransID", ordinal = 7)
	public String getOrgRcvTransID() {
		return this.orgRcvTransID;
	}
	@JSONField(name = "OrgRcvTransID")
	public void setOrgRcvTransID(String orgRcvTransID) {
		this.orgRcvTransID = orgRcvTransID;
	}
	@JSONField(name = "OrgSenderID", ordinal = 8)
	public String getOrgSenderID() {
		return orgSenderID;
	}
	@JSONField(name = "OrgSenderID")
	public void setOrgSenderID(String orgSenderID) {
		this.orgSenderID = orgSenderID;
	}
	@JSONField(name = "ClientId", ordinal = 9)
	public String getClientId() {
		return clientId;
	}
	@JSONField(name = "ClientId")
	public void setClientId(String clientId) {
		this.clientId = clientId;
	}
	
	
}
